Skip to content

Conversation

@ivorbosloper
Copy link
Collaborator

  • Support HCAT mapping CSV files without crop_code
  • Split Germany BB and NDS in block dataset and crop fields
  • Add HCAT to datasets where possible
  • Updated years & variants for at_crop, be_vlg, es_an, es_cl, es_pv, ie, pt, se
  • Rename at -> at_block and at_crop -> at, same for nl

@ivorbosloper ivorbosloper requested a review from m-mohr October 25, 2025 11:15
@ivorbosloper
Copy link
Collaborator Author

Tests await release of vecorel/cli#13

@ivorbosloper
Copy link
Collaborator Author

I'm awaiting a new release for vecorel I guess... The tests will work then... @m-mohr

@ivorbosloper ivorbosloper requested a review from m-mohr February 11, 2026 10:05
Comment on lines +41 to +47
# "mines_status": "mines_status",
# "mines_year_removed": "mines_year_removed",
"water_protect_zone": "water_protect_zone",
"natura2000": "natura2000",
"natura2000_ok": "natura2000_ok",
"natura2000_pop": "natura2000_pop",
"natura2000_povs": "natura2000_povs",
# "natura2000_ok": "natura2000_ok",
# "natura2000_pop": "natura2000_pop",
# "natura2000_povs": "natura2000_povs",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wny reason why they are skipped? Would probably be handy to have a comment in code why they are skipped for future reference

ec_mapping_csv = "hr_2020.csv"

def migrate(self, gdf) -> gpd.GeoDataFrame:
gdf["land_use_id"] = gdf["land_use_id"].astype(int)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't that a column migration?

"geometry": "geometry",
"CSBID": "id",
"CDL2023": "crop:code",
# "CDL2023": "crop:code",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here as well, we should document why we skip it or remove it completely from the code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants